# Maintainer: Sven-Hendrik Haase <svenstaro@archlinux.org>
# Contributor: Kevin Houdebert <kevin@qwazerty.eu>
# Contributor: Guillaume Brogi <gui-gui@netcourrier.com>

pkgname=python-pywinrm
pkgver=0.4.3
pkgrel=2
pkgdesc="Python library for Windows Remote Management"
arch=(any)
url="https://pypi.python.org/pypi/pywinrm"
license=('MIT')
depends=('python' 'python-requests' 'python-xmltodict' 'python-requests-ntlm')
optdepends=('python-requests-kerberos: for kerberos authentication'
            'python-requests-credssp: for CredSSP authenication')
makedepends=('python-setuptools')
source=("https://files.pythonhosted.org/packages/source/p/pywinrm/pywinrm-${pkgver}.tar.gz")
sha512sums=('f6da28fc1c53a4c000539583ef5e6bdc108a2396f161a416cc151a8591478a6c7a577c5733374339fe3612a5a85046fb9cd44ca38f502aecd56b2723aae16943')

package() {
    cd pywinrm-${pkgver}
    python setup.py install --root="${pkgdir}"/ --optimize=1
}

# vim:set ts=4 sw=4 et:
